<template>
  <BaseButton v-bind="$attrs">
    <span>自定义按钮内容</span>
  </BaseButton>
</template>
<script>
import { defineComponent } from "vue";
import BaseButton from "./BaseButton.vue";
export default defineComponent({
  components: {
    BaseButton,
  },
  setup(props, ctx) {
    console.log("ctx", ctx.attrs);

    return {};
  },
});
</script>
